RunSQLWithNoReturn
This method runs a SQL Command and returns the number of records affected.
Parameters:
| Description | |
|---|---|
| sqlCommand | SQL command to be executed. |
| parameterValues | An array of objects to be assigned as the input values of the stored procedure. |
Returns:
| Type | |
|---|---|
| System.Int32 |
| C# | |
|---|---|
public int RunSQLWithNoReturn( string sqlCommand, params IDataParameter[] parameterValues ) | |
Parameters
- sqlCommand
- parameterValues
Target Platforms: .NET Framework 1.1 or .NET Framework 2.0